<template>
    
   <div style="width: 100%;height: 100%;background-color: #f8f8f8;" :style="'font-size:'+tag.isCondition+'px;'">
   
    {{ tag.condition }}
    </div>
 
</template>
  <script lang="ts" setup>
  import {ref} from "vue";
     //父级传递来的参数
   var props = defineProps({
    tag: {
    type: Object,
    default: { x: 0, y: 1, w: 1, h: 1, code: '10001',type:1,condition:"ohter",isCondition:15 },
    },
    });

  </script>